package com.wwtech.epp.ui.activity.friend.contract;

import com.wwtech.epp.db.Friend;
import com.wwtech.epp.ui.activity.base.BasePresenter;
import com.wwtech.epp.ui.activity.base.BaseView;

import java.util.ArrayList;
import java.util.Map;

/**
 * @author hzp
 * @Package The contract for FriendListActivity
 * @Description: $description
 * @date 2017/09/25 15:56:45
 */
public interface FriendListContract {
    interface View extends BaseView<FriendListContractPresenter> {
        /**
         *
         */
        void showProgressDialog();

        /**
         *
         */
        void closeProgressDialog();

        void groupMemberBack(ArrayList<Friend> list);
        void groupMemberBack1(ArrayList<Friend> list);

        void setTotal(int total);
    }

    interface FriendListContractPresenter extends BasePresenter {
        void getNodeMember(String nodeId, Map map);
        void getGroupMember(String nodeId, Map map);
    }
}